﻿using System;
using System.Collections.Generic;
using System.Text;

using OgilvyOne.Borad.IDAL;
using OgilvyOne.Borad.Factory;

namespace OgilvyOne.Borad.BLL
{
    public class QuestionsBLl
    {
        IDALQuestionsSUV use = QuestionsFactiory.Creat();
        public int Insert(string number, string options, string flag, string email, string name, string mobile)
        {
            return use.Add(number, options, flag, email, name, mobile);
        }

        public int IsExist(string email)
        {
            return use.IsExist(email);
        }
    }
}
